package com.zch.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zch.dao.ConnectInfoMapper;
import com.zch.dao.model.ConnectInfo;
import com.zch.dao.model.ConnectInfoExample;

@Service
public class ConnectInfoService {
	@Autowired
	private ConnectInfoMapper connectInfoMapper;

	public int countByExample(ConnectInfoExample example) {
		return this.connectInfoMapper.countByExample(example);
	}

	public ConnectInfo selectByPrimaryKey(String id) {
		return this.connectInfoMapper.selectByPrimaryKey(id);
	}

	public List<ConnectInfo> selectByExample(ConnectInfoExample example) {
		return this.connectInfoMapper.selectByExample(example);
	}


	public int deleteByPrimaryKey(String id) {
		return this.connectInfoMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(ConnectInfo record) {
		return this.connectInfoMapper.updateByPrimaryKeySelective(record);
	}


	public int updateByPrimaryKey(ConnectInfo record) {
		return this.connectInfoMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(ConnectInfoExample example) {
		return this.connectInfoMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(ConnectInfo record, ConnectInfoExample example) {
		return this.connectInfoMapper.updateByExampleSelective(record, example);
	}


	public int updateByExample(ConnectInfo record, ConnectInfoExample example) {
		return this.connectInfoMapper.updateByExample(record, example);
	}

	public int insert(ConnectInfo record) {
		return this.connectInfoMapper.insert(record);
	}

	public int insertSelective(ConnectInfo record) {
		return this.connectInfoMapper.insertSelective(record);
	}

}
